<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html">
    
    <ui:composition template="/pages/user/templates/userAdminTemplate.xhtml">
        <ui:define name="pageTitle">
            <h:outputText value="#{msg['user.userdetails.label']}"/>
        </ui:define>

        <ui:define name="centerPane">           
            <h:panelGrid columns="2">
                <h:outputText value="#{msg['user.username.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.username}"/>
                
                <h:outputText value="#{msg['user.firstname.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.firstName}"/>
                
                <h:outputText value="#{msg['user.lastname.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.lastName}"/>
                
                <h:outputText value="#{msg['user.email.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.email}"/>
                
                <h:outputText value="#{msg['user.phone.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.phone}"/>
                
                <h:outputText value="#{msg['user.mobile.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.mobile}"/>
                
                <h:outputText value="#{msg['user.gender.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.gender}"/>
                
                <h:outputText value="#{msg['user.age.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.age}"/>
                
                <h:outputText value="#{msg['user.expired.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.expired}" converter="BooleanToCharConverter"/>
                
                <h:outputText value="#{msg['user.locked.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.locked}" converter="BooleanToCharConverter"/>
                
                <h:outputText value="#{msg['user.enabled.label']}"/>
                <h:outputText value="#{viewUserDetailsAction.user.enabled}" converter="BooleanToCharConverter"/>
            </h:panelGrid>
        </ui:define>
    </ui:composition>
    
</html>
